<article class="article-item" >
    <section class="article-item-header">
        <h3>
            <a href="/articleInfo/<%= article._id %>" >
                <%= article.title  %>
            </a>
        </h3>
        <% if (isLogin) { %>
            <div class="article-item-edit" >
                <a href="/article/articleEdit?id=<%= article._id %>">
                    修改
                </a>
                <a 
                    class="delete"
                    data-id="<%= article._id %>"
                >
                    删除
                </a>
            </div>
        <% } %>
    </section>
    <section class="article-item-body">
        <%= article.text_body  %>
    </section>
</article>
